<?php

class Groupe extends BaseObject{

	private $libelle;
	
	/**
	 * @OneToMany(mappedBy="groupe",className="Utilisateur")
	 */
	private $utilisateurs;
	
	
	/**
	 * @ManyToMany(targetEntity="Module", inversedBy="groupes")
	 * @JoinTable(name="droit")
	 */
	private $modules;
	

	
	public function getLibelle() {
		return $this->libelle;
	}
	
	public function setLibelle($libelle) {
		$this->libelle = $libelle;
		return $this;
	}
	public function toString(){
		return $this->libelle;
	}

	public function getModules() {
		return $this->modules;
	}
	
	public function setModules($modules) {
		$this->modules = $modules;
		return $this;
	}
	
	
}